import Layout from '@/layout'

/**
 * 一级静态路由(不显示在layout)
 */
export const routerMap = [
  {
    path: '',
    component: Layout,
    redirect: '/home',
    children: [{
      path: '/home',
      name: 'Home',
      component: () => import('@/views/home')
    }]
  },
  {
    path: '/login',
    component: () => import('@/views/user/login'),
    hidden: true
  },
  {
    path: '/404',
    component: () => import('@/views//common/exception/404'),
    hidden: true
  }
]
